package com.ant.user.service.customer.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("用户实体")
@Data
public class Customer {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("盐")
    private String salt;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("最后一次登陆时间")
    private String lastLoginTime;

    @ApiModelProperty("最后一次登陆ip")
    private String lastLoginIp;

    @ApiModelProperty("头像")
    private String head;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("角色id")
    private String roleId;

    @ApiModelProperty("用户类型")
    private String userType;
}
